bitter end

Noun
  1. (nautical) the inboard end of a line or cable especially the end that is wound around a bitt
  2. the final extremity (however unpleasant it may be)
    • he was determined to fight to the bitter end
bitter end
The sailor secured the rope to the bitter end.